
package org.springblade.modules.videoanswer.service.impl;

import org.springblade.modules.videoanswer.entity.Question;
import org.springblade.modules.videoanswer.vo.QuestionVO;
import org.springblade.modules.videoanswer.mapper.QuestionMapper;
import org.springblade.modules.videoanswer.service.IQuestionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 视频题库表 服务实现类
 *
 * @author jiangyandong
 * @since 2021-03-24
 */
@Service
public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> implements IQuestionService {

	@Override
	public IPage<QuestionVO> selectQuestionPage(IPage<QuestionVO> page, QuestionVO question) {
		return page.setRecords(baseMapper.selectQuestionPage(page, question));
	}

}
